package jpack.rar;

/**
 * @author Denis Migol
 * 
 */
public class RarResponse {
	private int code;

	private String message;

	/**
	 * 
	 */
	public RarResponse() {
		this(-1, null);
	}

	/**
	 * 
	 * @param code
	 * @param message
	 */
	public RarResponse(final int code, final String message) {
		super();
		this.setCode(code);
		this.setMessage(message);
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(final int code) {
		this.code = code;
	}

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @param message
	 *            the message to set
	 */
	public void setMessage(final String message) {
		this.message = message;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
}
